home *** CD-ROM | disk | FTP | other *** search
- # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
- #
- # Permission to use, copy, modify, and distribute this material
- # for any purpose and without fee is hereby granted, provided
- # that the above copyright notice and this permission notice
- # appear in all copies, and that the name of Bellcore not be
- # used in advertising or publicity pertaining to this
- # material without the specific, prior written permission
- # of an authorized representative of Bellcore. BELLCORE
- # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
- # OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS",
- # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
- #
- # Prototype Mailcap file
- # Note that support for text & multipart are "built in" to metamail,
- # as are rudimentary support for message, and application.
- # However, any of these may be overridden in mailcap.
- #
- # Note that users may override or extend this with a .mailcap
- # file in their own directory. However, there is NO NEED
- # for them to copy entries from this file, as metamail will
- # pick up entries from both the system and personal mailcap files.
-
- # The following line is for sites where xv understands jpeg but xloadimage is preferred.
- # image/jpeg; showpicture -viewer xv %s
- # The following sends all other image subtypes to showpicture.
- image/*; showpicture %s
- # The following all appear AFTER the corresponding READING entries, and
- # are for use in messages composition, e.g. in the "mailto" program
- # In the following lines, the exit 0 junk is necessary because xwd
- # doesn't always exit with a valid exit status!
- # For sites with current (X11R5) pbm utilities
- # image/gif; showpicture %s; compose="xwd -frame | xwdtopnm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
- # The following line should be used instead of the previous by sites
- # with old (X11R4) pbm utilities
- image/gif; showpicture %s; compose="xwd -frame | xwdtoppm | ppmtogif > %s\; exit 0"; description="An X11 window image dump in GIF format"
- # For receiving X11 window image dumps from older versions of Andrew messages
- image/x-xwd; showpicture %s; description="An X11 window image dump in X-XWD format"
-
- message/partial; showpartial %s %{id} %{number} %{total}
- message/external-body; showexternal %s %{access-type} %{name} %{site} %{directory} %{mode} %{server}; \
- needsterminal; composetyped = extcompose %s; \
- description="A reference to data stored in an external location"
-
- # If you have an interactive Postscript interpreter, you should think carefully
- # before replacing lpr with it in the following line, because PostScript
- # can be an enormous security hole. It is RELATIVELY harmless
- # when sent to the printer...
- # application/postscript ; lp %s ; description="A Postscript File";\
- # compose="getfilename Postscript %s"
- application/postscript ; /usr/local/contrib/bin/ghostview \
- -xrm 'Ghostview*interpreter: /usr/local/contrib/lib/metamail/gs-safer' %s ;\
- description="A Postscript File"
-
- text/richtext; richtext -p %s; copiousoutput
- text/plain; more %s; copiousoutput
-
- # The following displays Japanese text at sites where the "kterm" program is installed:
- # text/plain; kterm -geometry +0+0 -e more %s /dev/null; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-2022-jp
-
- default; more %s; copiousoutput
-